﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Apps.Models
{
    [Table("V_SELF_SAMPLING")]
    public partial class V_SELF_SAMPLING
    {
        [Display(Name = "类型描述")]
        public string TYPE_STR { get; set; }

        [Display(Name = "类型")]
        public decimal? TYPE { get; set; }

        [Display(Name = "生成时间（YYYY-MM-DD HH24:MI:SS）")]
        public DateTime? TIME
        { get; set; }

        [Display(Name = "班组名称")]
        public string TEAM_NAME
        { get; set; }

        [Display(Name = "班组编号")]
        public string TEAM_ID
        { get; set; }

        [Display(Name = "供应商名称")]
        public string SUPPLIER_NAME
        { get; set; }

        [Key]
        [Display(Name = "供应商编号")]
        public string SUPPLIER_ID
        { get; set; }

        [Display(Name = "采样编号")]
        public string SAMPLING_ID
        { get; set; }

        [Display(Name = "")]
        public string SAMPLE_USER_NAME
        { get; set; }

        [Display(Name = "采样员")]
        public string SAMPLE_USER_ID
        { get; set; }

        [Display(Name = "采样时间（YYYY-MM-DD HH24:MI:SS）")]
        public DateTime? SAMPLE_TIME
        { get; set; }

        [Display(Name = "采样桶号RFID")]
        public string RFID
        { get; set; }

        [Display(Name = "是否已交接 0否 1是")]
        public decimal? REVICED
        { get; set; }

        [Display(Name = "物料名称")]
        public string MATERIEL_NAME
        { get; set; }

        [Display(Name = "物料编号")]
        public string MATERIEL_ID
        { get; set; }

        [Display(Name = "制样编码")]
        public string MAKE_CODE
        { get; set; }

        [Display(Name = "是否已制样 0否 1是")]
        public decimal? MADE
        { get; set; }

        [Display(Name = "是否已合样 0否 1是")]
        public decimal? BLENDED
        { get; set; }

        [Display(Name = "批次号")]
        public string BATCH_CODE
        { get; set; }

    }
}
